<%-- 
    Document   : index
    Created on : 23-feb-2012, 19:24:42
    Author     : cesrafa
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
          String user = request.getParameter("form_user");
          String pass = request.getParameter("form_password");
          // save data into the session
          session.setAttribute("user", user);
          session.setAttribute("pass", pass);

%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <jsp:forward page="home.jsp" />

    </body>
</html>
